import React from 'react';
import style from './style/navbar.scss';

export default class Item extends React.Component{
	constructor(){
		super();
		this.state = {};
	}

	static defaultProps = {
	  isActive:false
	}

	render(){
		return (
			<li className={cn({
				[style.item]: true
			})}>
				<div className={style['item-content']} >
					{this.props.children}{this.props.title}
				</div>
			
			</li>
		)
	}
}
